-- ---- Users Plugins ----

-- Please uncomment belows and rename this file to 'users.lua' to enable it.

-- local lua_keys = require("builtin.utils.plugin").lua_keys
-- local lua_init = require("builtin.utils.plugin").lua_init
-- local lua_config = require("builtin.utils.plugin").lua_config
-- local vim_init = require("builtin.utils.plugin").vim_init
-- local vim_config = require("builtin.utils.plugin").vim_config
--
-- local VeryLazy = "VeryLazy"
-- local BufReadPre = "BufReadPre"
-- local BufNewFile = "BufNewFile"
-- local CmdlineEnter = "CmdlineEnter"
-- local VimEnter = "VimEnter"
-- local InsertEnter = "InsertEnter"
-- local UIEnter = "UIEnter"
--
-- return {
--   -- Vim editing behavior
--   {
--     "m4xshen/hardtime.nvim",
--     dependencies = { "MunifTanjim/nui.nvim" },
--   },
--   -- No-highlight
--   {
--     "romainl/vim-cool",
--     event = { BufReadPre, BufNewFile, VeryLazy },
--   },
--   -- Split-join
--   {
--     "AndrewRadev/splitjoin.vim",
--     event = { BufReadPre, BufNewFile, VeryLazy },
--     submodules = false,
--   },
--   -- Auto-pairs
--   {
--     "windwp/nvim-autopairs",
--     event = { VeryLazy, InsertEnter },
--     config = lua_config("windwp/nvim-autopairs"),
--   },
--   -- Surround
--   {
--     "kylechui/nvim-surround",
--     version = "*",
--     event = { BufReadPre, BufNewFile, VeryLazy },
--     config = lua_config("kylechui/nvim-surround"),
--   },
--   -- Comment
--   {
--     "numToStr/Comment.nvim",
--     event = { BufReadPre, BufNewFile, VeryLazy },
--     config = lua_config("numToStr/Comment.nvim"),
--   },
--   -- UI
--   {
--     "folke/noice.nvim",
--     lazy = false,
--     config = lua_config("folke/noice.nvim"),
--   },
--   -- Symbol navigation
--   {
--     "DNLHC/glance.nvim",
--     cmd = { "Glance" },
--     config = lua_config("DNLHC/glance.nvim"),
--   },
--   -- Yank
--   {
--     "gbprod/yanky.nvim",
--     config = lua_config("gbprod/yanky.nvim"),
--     keys = lua_keys("gbprod/yanky.nvim"),
--   },
--   -- Oil file manager
--   {
--     "stevearc/oil.nvim",
--     config = lua_config("stevearc/oil.nvim"),
--     keys = lua_keys("stevearc/oil.nvim"),
--   },
--   -- Auto save
--   {
--     "Pocco81/auto-save.nvim",
--     cmd = { "ASToggle" },
--     event = { VeryLazy, BufReadPre, BufNewFile },
--     config = lua_config("Pocco81/auto-save.nvim"),
--     keys = lua_keys("Pocco81/auto-save.nvim"),
--   },
--   -- Terminal
--   {
--     "akinsho/toggleterm.nvim",
--     version = "*",
--     event = { VeryLazy, CmdlineEnter },
--     config = lua_config("akinsho/toggleterm.nvim"),
--     keys = lua_keys("akinsho/toggleterm.nvim"),
--   },
--   -- Generate documents
--   {
--     "danymat/neogen",
--     cmd = { "Neogen" },
--     dependencies = { "L3MON4D3/LuaSnip" },
--     config = lua_config("danymat/neogen"),
--     keys = lua_keys("danymat/neogen"),
--   },
--   -- Undo tree
--   {
--     "mbbill/undotree",
--     event = { VeryLazy, CmdlineEnter },
--     init = lua_init("mbbill/undotree"),
--     keys = lua_keys("mbbill/undotree"),
--   },
--   -- Better markdown previewer for github
--   {
--     "wallpants/github-preview.nvim",
--     cmd = { "GithubPreviewToggle" },
--     keys = lua_keys("wallpants/github-preview.nvim"),
--     config = lua_config("wallpants/github-preview.nvim"),
--   },
--   {
--     "toppair/peek.nvim",
--     build = "deno task --quiet build:fast",
--     config = lua_config("toppair/peek.nvim"),
--     keys = lua_keys("toppair/peek.nvim"),
--   },
--   -- Vim/Neovim api version helper
--   {
--     "tweekmonster/helpful.vim",
--     cmd = { "HelpfulVersion" },
--   },
--   -- Todo comments
--   {
--     "folke/todo-comments.nvim",
--     event = { VeryLazy, BufReadPre, BufNewFile },
--     config = lua_config("folke/todo-comments.nvim"),
--   },
--   -- Tags generator
--   {
--     "linrongbin16/gentags.nvim",
--     event = { VeryLazy },
--     config = lua_config("linrongbin16/gentags.nvim"),
--   },
--   -- Diagnostic
--   {
--     "folke/trouble.nvim",
--     cmd = { "Trouble", "TroubleClose", "TroubleToggle", "TroubleRefresh" },
--     config = lua_config("folke/trouble.nvim"),
--     keys = lua_keys("folke/trouble.nvim"),
--   },
--   -- Search and replace
--   {
--     "nvim-pack/nvim-spectre",
--     cmd = { "Spectre" },
--     config = lua_config("nvim-pack/nvim-spectre"),
--   },
--   -- Neovim development
--   {
--     "folke/lazydev.nvim",
--     ft = "lua", -- only load on lua files
--     dependencies = { "Bilal2453/luvit-meta" },
--     opts = {
--       library = {
--         { path = "luvit-meta/library", words = { "vim%.uv", "uv%." } },
--       },
--     },
--   },
--   -- Mark word
--   {
--     "inkarkat/vim-ingo-library",
--     lazy = true,
--   },
--   {
--     "inkarkat/vim-mark",
--     event = { CmdlineEnter },
--     dependencies = { "inkarkat/vim-ingo-library" },
--     init = lua_init("inkarkat/vim-mark"),
--     keys = lua_keys("inkarkat/vim-mark"),
--   },
--   {
--     "windwp/nvim-ts-autotag",
--     event = { VeryLazy, InsertEnter },
--     dependencies = { "nvim-treesitter/nvim-treesitter" },
--     config = lua_config("windwp/nvim-ts-autotag"),
--   },
-- }

return {}
